package com.java.star.mall.front.pojo.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 分类pojo实体
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Category extends Base implements Serializable {

    private static final long serialVersionUID = 6831771779477669408L;

    //id
    private Integer id;

    //分类名
    private String name;

    //图片地址
    private String image;

    //父级id
    private Integer parentId;

    //层级
    private Integer catLevel;

    //排序
    private Integer sort;
}
